﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entities.IRepository;
using Entities;

namespace DAL.ThuQuy
{
    public class BLTChiTietHoaDonReponsitory:ConnectionStringBL, IChiTietHoaDonRepository
    {
        public bool ThemChiTietHoaDon(ChiTietHoaDon cthd)
        {
            throw new NotImplementedException();
        }

        public bool XoaChiTietHoaDon(ChiTietHoaDon cthd)
        {
            throw new NotImplementedException();
        }

        public bool CapNhatChiTietHoaDon(ChiTietHoaDon cthd)
        {
            throw new NotImplementedException();
        }

        public ChiTietHoaDon LayChiTietHoaDonTheoId(string Id)
        {
            throw new NotImplementedException();
        }

        public ChiTietHoaDon XemChiTietTheoID(string Id)
        {
            throw new NotImplementedException();
        }

        public List<ChiTietHoaDon> XemTatCa()
        {
            return db.GetTable<ChiTietHoaDon>().ToList();
        }
    }
}
